<?php


namespace app\admin\event;
use app\admin\model\Admin as Model;
use think\facade\Log;

class SystemLog
{
    use \app\admin\service\SystemLog;
    public function beforeInsert(Model $admin)
    {
        self::log();
    }

    public function afterRestore(Model $admin)
    {
        self::log();
    }

    public function beforeRestore(Model $admin)
    {
        self::log();
    }

    public function afterDelete(Model $admin)
    {
        self::log();
    }

    public function beforeDelete(Model $admin)
    {
        self::log();
    }

    public function afterWrite(Model $admin)
    {
        self::log();
    }

    public function beforeWrite(Model $admin)
    {
        self::log();
    }

    public function afterUpdate(Model $admin)
    {
        self::log();
    }

    public function beforeUpdate(Model $admin)
    {
        self::log();
    }

    public function afterInsert(Model $admin)
    {
        self::log();
    }
}
